package com.xrit.sunnyday.service;

import com.xrit.sunnyday.exception.SunnydayException;
import com.xrit.sunnyday.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * 预约
 */
public interface OrderSettingService {

    /**
     * 批量导入
     */
    void add(List<OrderSetting> orderSettingList) throws SunnydayException;

    /**
     * 根据日期查询预约设置数据
     * @param month
     * @return
     */
    List<Map<String, Integer>> getOrderSettingByMonth(String month);

    //通过日期修改可预约人数
    void editNumberByDate(OrderSetting orderSetting) throws SunnydayException;
}
